<link href="https://fonts.googlefonts.cn/css?family=Noto+Sans+SC" rel="stylesheet">
<style>
    * {
        font-family: "Noto Sans SC", Ubuntu, Verdana, Nunito, monospace, Consolas, Monospace, sans-serif;
    }
    .im {  /* gmail adapter */
        color: inherit;
    }
    .main {
        width: max-content;
        max-width: 600px;
        padding: 60px 35px;
        border: 1px solid lightgray;
        border-radius: 10px;
        margin: 10px auto;
    }
    .start {
        text-align: start;
        padding-left: 6px;
    }
    .end {
        padding: 48px 16px 20px 0;
        text-align: end !important;
    }
    .column {
        text-align: left;
    }
    .header-column {
        text-align: center;
    }
    span {
        display: block;
    }
    p {
        color: #009efd;
    }
    .greeting {
        color: #333;
        font-weight: normal;
    }
    h1 {
        margin-top: 4px;
    }
    a {
        text-decoration: none;
        transition: .5s;
        color: #009efd;
    }
    a:active, a:hover {
        color: #0d64fd;
    }
    img {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        margin: 10px 0;
    }
    .logo {
        width: 64px;
        height: 64px;
        margin: 0 auto;
    }
    .footer-info {
        margin-top: 30px;
        font-size: 12px;
        color: #666;
        text-align: center;
    }
    .footer-info p {
        margin: 5px 0;
    }
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background-color: #009efd;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        margin: 15px 0;
        transition: background-color 0.3s;
    }
    .btn:hover {
        background-color: #0d64fd;
        color: white;
    }
</style>
<body>
<div class="main">
  <div class="header-column"><img src="https://deeptrain.net/favicon.ico" alt="" class="logo"><h1>{{.Subject}}</h1></div>
  <div class="column">
  </div>
  
  <div class="column">
    <span class="start greeting">Dear <strong class="im">{{.Name}}</strong>,</span><br>
  </div>
  
  <div class="column">
    {{.Content}}
  </div>
  
  <div class="column end">
    <span>Best regards,</span>
    <span>Deeptrain Team</span><br>
  </div>
  
  <div class="footer-info">
    <p>此邮件由 Deeptrain 营销团队发送</p>
    <p>如果您不想再收到营销邮件，可以 <a href="{{.UnsubscribeUrl}}">点击这里取消订阅</a></p>
  </div>
  
  <br><div class="header-column"><a href="https://deeptrain.net/">&copy; deeptrain.net</a></div>
</div>
</body>
